package com.hoas.comparedb.pojo;

import com.hoas.comparedb.entity.Table;

import java.util.List;

public class TableChange {

    private Table table;

    public TableChange(Table table) {
        this.table = table;
    }

    private TableDiffItem tableDiff;

    private List<TableColumnDiffItem> columnDiffs;

    private List<TableIndexDiffItem> indexDiffs;

    public Table getTable() {
        return table;
    }

    public void setTable(Table table) {
        this.table = table;
    }

    public TableDiffItem getTableDiff() {
        return tableDiff;
    }

    public void setTableDiff(TableDiffItem tableDiff) {
        this.tableDiff = tableDiff;
    }

    public List<TableColumnDiffItem> getColumnDiffs() {
        return columnDiffs;
    }

    public void setColumnDiffs(List<TableColumnDiffItem> columnDiffs) {
        this.columnDiffs = columnDiffs;
    }

    public List<TableIndexDiffItem> getIndexDiffs() {
        return indexDiffs;
    }

    public void setIndexDiffs(List<TableIndexDiffItem> indexDiffs) {
        this.indexDiffs = indexDiffs;
    }
}
